// Decompiled by DJ v3.9.9.91 Copyright 2005 Atanas Neshkov  Date: 2008-7-6 19:14:22
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   Config_bean.java

package com.creawor.generator;

import java.io.InputStream;
import java.io.PrintStream;
import java.util.Properties;

public class Config_bean
{

    public Config_bean()
    {
        InputStream propsIn;
        propsIn = null;
        try
        {
            propsIn = getClass().getResourceAsStream("/generator_config.properties");
            Properties props = new Properties();
            props.load(propsIn);
            driverName = props.getProperty("driverName");
            url = props.getProperty("url");
            uid = props.getProperty("uid");
            pwd = props.getProperty("pwd");
            datasource = props.getProperty("datasource");
            path_name_j2src = props.getProperty("path_name_j2src");
            path_name_webroot = props.getProperty("path_name_webroot");
            package_name = props.getProperty("package_name");
//            System.out.println("\n==================");
//            System.out.println(driverName);
//            System.out.println(url);
//            System.out.println(uid);
//            System.out.println(pwd);
        }
        catch(Exception e)
        {
            e.printStackTrace();
        }
      
        try
        {
            propsIn.close();
        }
        catch(Exception exception1) { }
        
        try
        {
            propsIn.close();
        }
        catch(Exception exception2) { }
        return;
    }

    public static String driverName = "";
    public static String url = "";
    public static String uid = "";
    public static String pwd = "";
    public static String datasource = "";
    public static String path_name_j2src = "";
    public static String path_name_webroot = "";
    public static String package_name = "";

}